/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Grubi
 */
public class User {
    
    /**
     * index
     * 0 - -1 (Feld wird ausgelassen)
     * 1 - Einser
     * 2 - Zweier
     * 3 - Dreier
     * 4 - Vierer
     * 5 - Fuenfer
     * 6 - Sechser
     * 7 - Strasse
     * 8 - Full House
     * 9 - Poker
     * 10 - Grande
     * 11 - Chance
     * 12 - Bonus
     * 13 - Ergebnis
     */
    List<Integer> res;
    
    private String name;
    
    Object getIndexObject(int columnIndex) {
        return res.get(columnIndex);
    }
    
    void set(int index, int val){
        res.set(index, val);
    }

    public User(String name) {
        this.res = new ArrayList<>();
        this.name = name;
    }

    public String getName() {
        return name;
    }
    
}
